<?php
/**
 * Created by PhpStorm.
 * User: wei
 * Date: 2016/7/11
 * Time: 14:04
 */
namespace Api\Controller;

use Think\Controller;

/**
 *获取基础数据
 */
class BasissetController extends BaseController
{
    public function index(){
        $list=M('basisset')->where('status=1')->field('id,url,name')->select();
        $data=array('err_code'=>200,'err_msg'=>$list);
        $this->ajaxReturn($data,'JSON');
    }
}